package org.vectrics.recruiter.job;

import java.util.Date;

import org.vectrics.common.db.RecordObject;
import org.vectrics.company.CompanyPersonGroupType;
import org.vectrics.domain.Domain;

public class JobStatusTypeApproval implements RecordObject {
	
	public static String WHEN_BEFORE = "before";
	public static String WHEN_AFTER = "after";
	private Long id = null;
	private JobStatusType fromJobStatusType = null;
	private JobStatusType toJobStatusType = null;
	private JobClassification jobClassification = null;
	private Domain domain = null;
	private CompanyPersonGroupType companyPersonGroupType = null;
	private Date startDate = null;
	private Date endDate = null;
	
	
	public JobStatusTypeApproval() {
		super();
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	public Domain getDomain() {
		return domain;
	}
	public void setDomain(Domain domain) {
		this.domain = domain;
	}

	/**
	 * @return Returns the companyPersonGroupType.
	 */
	public CompanyPersonGroupType getCompanyPersonGroupType() {
		return companyPersonGroupType;
	}

	/**
	 * @param companyPersonGroupType The companyPersonGroupType to set.
	 */
	public void setCompanyPersonGroupType(
			CompanyPersonGroupType companyPersonGroupType) {
		this.companyPersonGroupType = companyPersonGroupType;
	}

	/**
	 * @return Returns the endDate.
	 */
	public Date getEndDate() {
		return endDate;
	}

	/**
	 * @param endDate The endDate to set.
	 */
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	/**
	 * @return Returns the fromJobStatusType.
	 */
	public JobStatusType getFromJobStatusType() {
		return fromJobStatusType;
	}

	/**
	 * @param fromJobStatusType The fromJobStatusType to set.
	 */
	public void setFromJobStatusType(JobStatusType fromJobStatusType) {
		this.fromJobStatusType = fromJobStatusType;
	}

	/**
	 * @return Returns the toJobStatusType.
	 */
	public JobStatusType getToJobStatusType() {
		return toJobStatusType;
	}

	/**
	 * @param toJobStatusType The toJobStatusType to set.
	 */
	public void setToJobStatusType(JobStatusType toJobStatusType) {
		this.toJobStatusType = toJobStatusType;
	}

	/**
	 * @return Returns the startDate.
	 */
	public Date getStartDate() {
		return startDate;
	}

	/**
	 * @param startDate The startDate to set.
	 */
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

}
